package com.jinmdz.fmis.mapper.entity;

import com.jinmdz.fmis.mapper.annotation.MyColumn;
import com.jinmdz.fmis.mapper.annotation.MyTable;
import com.jinmdz.fmis.mapper.base.BaseEntity;

import java.math.BigDecimal;
import java.util.Date;

/**
 * 发票冲红表Entity
 *
 * @author generator
 * @date 2020-05-12 14:24
 */
@MyTable(value = "ChargeInvoiceRedEntity", name = "charge_invoice_red", comment = "发票冲红表")
public class ChargeInvoiceRedEntity extends BaseEntity {
    /**
     * 业务编码
     */
    @MyColumn(value = "businessCode", name = "business_code", comment = "业务编码", required = true)
    private String businessCode;

    /**
     * 发票代码
     */
    @MyColumn(value = "invoiceCode", name = "invoice_code", comment = "发票代码", required = true)
    private String invoiceCode;

    /**
     * 发票号码
     */
    @MyColumn(value = "invoiceNo", name = "invoice_no", comment = "发票号码", required = true)
    private String invoiceNo;

    /**
     * 发票抬头
     */
    @MyColumn(value = "invoiceTitle", name = "invoice_title", comment = "发票抬头", required = true)
    private String invoiceTitle;

    /**
     * 发票金额
     */
    @MyColumn(value = "invoiceCharge", name = "invoice_charge", comment = "发票金额", required = true)
    private BigDecimal invoiceCharge;

    /**
     * 打印发票时间
     */
    @MyColumn(value = "invoiceTime", name = "invoice_time", comment = "打印发票时间", required = true)
    private Date invoiceTime;

    /**
     * 发票状态
     */
    @MyColumn(value = "invoiceStateCode", name = "invoice_state_code", comment = "发票状态", required = true)
    private Integer invoiceStateCode;

    /**
     * 关联作废发票号
     */
    @MyColumn(value = "invoiceCancelNo", name = "invoice_cancel_no", comment = "关联作废发票号", required = true)
    private String invoiceCancelNo;

    /**
     * 备注信息
     */
    @MyColumn(value = "remark", name = "remark", comment = "备注信息")
    private String remark;


    public String getBusinessCode() {
        return businessCode;
    }

    public ChargeInvoiceRedEntity setBusinessCode(String businessCode) {
        this.businessCode = businessCode;
        return this;
    }

    public String getInvoiceCode() {
        return invoiceCode;
    }

    public ChargeInvoiceRedEntity setInvoiceCode(String invoiceCode) {
        this.invoiceCode = invoiceCode;
        return this;
    }

    public String getInvoiceNo() {
        return invoiceNo;
    }

    public ChargeInvoiceRedEntity setInvoiceNo(String invoiceNo) {
        this.invoiceNo = invoiceNo;
        return this;
    }

    public String getInvoiceTitle() {
        return invoiceTitle;
    }

    public ChargeInvoiceRedEntity setInvoiceTitle(String invoiceTitle) {
        this.invoiceTitle = invoiceTitle;
        return this;
    }

    public BigDecimal getInvoiceCharge() {
        return invoiceCharge;
    }

    public ChargeInvoiceRedEntity setInvoiceCharge(BigDecimal invoiceCharge) {
        this.invoiceCharge = invoiceCharge;
        return this;
    }

    public Date getInvoiceTime() {
        return invoiceTime;
    }

    public ChargeInvoiceRedEntity setInvoiceTime(Date invoiceTime) {
        this.invoiceTime = invoiceTime;
        return this;
    }

    public Integer getInvoiceStateCode() {
        return invoiceStateCode;
    }

    public ChargeInvoiceRedEntity setInvoiceStateCode(Integer invoiceStateCode) {
        this.invoiceStateCode = invoiceStateCode;
        return this;
    }

    public String getInvoiceCancelNo() {
        return invoiceCancelNo;
    }

    public ChargeInvoiceRedEntity setInvoiceCancelNo(String invoiceCancelNo) {
        this.invoiceCancelNo = invoiceCancelNo;
        return this;
    }

    public String getRemark() {
        return remark;
    }

    public ChargeInvoiceRedEntity setRemark(String remark) {
        this.remark = remark;
        return this;
    }
}